package com.zhongfl.crm.lixiao.mapper;

import com.zhongfl.crm.model.boss.LxOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LXOrderMapper {
    int deleteByPrimaryKey(Long lxId);

    int insertSelective(LxOrder record);

    LxOrder selectByLXId(Long lxId);

    LxOrder selectByLxIdAndOrderType(@Param("lxId") Long lxId, @Param("orderType") String orderType);

    LxOrder selectByContractId(Long lxContractId);

    LxOrder selectByOrderNo(String orderNo);

    List<LxOrder> selectAll();

    int updateByPrimaryKeySelective(LxOrder record);

    int updateContractId(@Param("lxId") Long lxId, @Param("lxContractId") Long lxContractId);

    void updateLxOrder(LxOrder updateInfo);
}